﻿<!DOCTYPE html>
<html>
<head>
    <title>CGI</title>
</head>
<body>
    <h1>Our Page</h1>

    <script>
        //01
        var value = Math.PI;
        console.log(value);

        //02 absolute value
        //var value = Math.abs(-42);
        //console.log(value);

        //03
        //var value = Math.ceil(11.1);
        //console.log(value);

        //04
        //var value = Math.floor(11.9);
        //console.log(value);

        //05
        //var value = Math.trunc(42.12);
        //console.log(value);

        //06
        //var value = Math.max(-12, 0, 12, "88");
        //console.log(value);

        //07
        //var value = Math.min(-12, 0, 12, "88");
        //console.log(value);

    </script>
</body>
</html>